package com.ruoyi.matrix.queue;

/**
 * @author Fatmore
 * @Description QueueMember
 * @Copyright Nanyang Commercial Bank, Limited. All rights reserved.
 * @since 2022/5/2 21:43
 */
public class QueueMember {
    private String member;
    private Double score;

    public static QueueMember of(String member, Double score){
        QueueMember qm = new QueueMember();
        qm.setMember(member);
        qm.setScore(score);
        return qm;
    }

    public String getMember() {
        return member;
    }

    public void setMember(String member) {
        this.member = member;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }
}
